package timethingy.backend;

import java.util.Date;
import java.util.List;

import timethingy.dataobjects.Activity;
import timethingy.dataobjects.Label;

public interface StorageBackend {
	
	List<Activity> getActivities();
	List<Activity> getActivities(Date from);
	List<Activity> getActivities(Date from, Date to);
	
	void save(Activity a);

	
	List<Label> getLabels();

	void save(Label l);
	
	
}
